@import "./mixin";
@import "./var";

main{
     width: 1200px;
     margin: 15px auto 0;
    &::after{@include clear()}

 }

 .home-hero-sub{
    &::after{@include clear()}
 }

.li4_wr{
    float: left;
    width: 212px;
    height: 170px;
    padding: 3px;
    background-color: #00eef3;
}

.li4{
    li{
        text-align: center;
        position: relative;
        float: left;
        margin: auto;
        width: 102px;
        height: 82px;
        img{
            margin: 15px auto 0;
        }
    }
}

.li_1{
    &::after{
        content: "";
        display: inline-block;
        position: absolute;
        top: 6px;
        right: 0;
        width: 1px;
        height: 70px;
        background-color: #000;
        z-index: 999
    }
}

.li_4{
    &::after{
        content: "";
        display: inline-block;
        position: absolute;
        top: 6px;
        left: 0;
        width: 1px;
        height: 70px;
        background-color: #000;
        z-index: 999
    }
}

.li_2{
    &::after{
        content: "";
        display: inline-block;
        position: absolute;
        bottom: 0;
        left: 6px;
        height: 1px;
        width: 90px;
        background-color: #000;
        z-index: 999
    }
}

.li_3{
    &::after{
        content: "";
        display: inline-block;
        position: absolute;
        top: 0;
        left: 6px;
        height: 1px;
        width: 90px;
        background-color: #000;
        z-index: 999
    }
}

.ad_news{
    float: right;
    img{
        float: left;
        margin-right: 15px;
    }
}

.news_content {
    float: right;
    width: 311px;
    height: 170px;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #EBEBEB;
    overflow: hidden;
    padding: 15px;
    background: #fff;
    font-size: 12px;
}

.all_news{
    font-size: 12px;
    line-height: 25px;
    width: 281px;
    margin-top: 5px;
  li{
        text-overflow:ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}

.news_title{
    font-size: 16px;
    line-height: 16px;
    color: #00d7dc;
    margin-left: 5px;
    margin-bottom: 6px;
}

.box_hd{
    margin-top: 10px;
    .title{
        margin: 0;
        font-size: 16px;
        font-weight: bold;
        line-height: 40px;
        height: 40px;
        color: #333;
    }
    &::after{
        @include clear();
    }
}
 
.swiper-img-fr{
    float: left;
    width: 230px;
    height: 299px;
    padding-top: 39px;
    margin: 0 10px 0 0;
    background-color: #fff;
    border-top: 1px solid rgb(207, 104, 7);
    &:nth-child(5){
        margin-right: 0;
    }
    img{
        margin: 0 auto 22px;
        width: 160px;
        height: 160px;
    }
    .title{
        width: 188px;
        margin: auto;
        display: block;
        font-weight: 400;
        font-size: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    .desc{
        height: 18px;
        margin: 0 20px 12px;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        color: #b0b0b0;
    }
}

.title2{
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 40px;
    height: 40px;
    color: #333;
    width: 240px;
    float: left;
}

.pull-right{
    width: 950px;
    line-height: 40px;
    float: right;
}

.pull-left>li{
    float: left;
    color: #898989;
    font-size: 14px;
    padding: 0 10px;
}

.floor-nav-right{
    float: right;
    width: 45px;
    margin-right: 10px;
    a{
        // float: right
        width: 100%
    }
}

.clearfix{
    &::after{@include clear()}
}

.clearfix>.pull-left{
    float: left;
}

.clearfix>.pull-right{
    float: right;
    height: 538px;
    width: 950px;
}

.brand-big img{
    margin-bottom: 15px;
}

.clearfix-goods{
    float: left;
    overflow: hidden;
    position: relative;
    width: 724px;
    height: 538px;
    font-size: 14px;
    background-color: #fff;

}

.ns-border-color-gray{
    float: left;
    border-right: 1px solid #eee;
    width: 241px;
    height: 268px;
    img{
        margin: 15px auto 0;
        width: 167px;
        height: 167px;
    }
    a{
        .googs-title{
            width: 167px;
            height: 24px;
            line-height: 24px;
            margin:  15px auto 0;
            font-size: 16px;
            text-align: center;
            overflow: hidden;
            white-space: nowrap;
            word-wrap: normal;
            text-overflow: ellipsis;
        }
        .goods-price{
            margin: auto;
            font-size: 14px;
            width: 167px;
            height: 35px;
            line-height: 35px;
            text-align: center;
            color: #00d7dc !important;
        }
    }
}

.right-swiper{
    float: right;
    background-color: #fff;
    .swiper-title{
        text-align: left;
        width: 226px;
        height: 52px;
        padding-left: 15px;
        line-height: 52px;
        font-size: 16px;
    }
    .more{
        text-align: right;
        padding-right: 25px;
    }
    .container3{
        width: 225px;
        height: 432px;
        .swiper-slide{
            padding: 20px 15px;
            height: 108px;
        }
        img{
            width: 67px;
            height: 67px;
            margin: 0 10px 0 0; 
            float: left;
        }
        .recommend-goods-name{
            width: 118px;
            height: 14px;
            font-size: 14px;
            line-height: 1;
            margin-bottom: 7px;
            overflow: hidden;
            white-space: nowrap;
            word-wrap: normal;
            text-overflow: ellipsis;
        }
        .recommend-goods-price{
            height: 22px;
            line-height: 22px;
            font-size: 12px;
            color: #00d7dc;
            margin-top: 25px;
            
        }
    }
}

.space{
    margin-top: 20px;
}

.container4{
    .swiper-slide:nth-child(5n){
        margin-right: 0;
    }
    .title{
        font-size: 14px;
        font-weight: normal;
        margin-top: 20px;
        color: #212121;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align:center;
    }
    .price{
        color: #00bcbf;
        display: block;
        padding: 10px 0;
        margin: auto;
        text-align:center;
    }
}

.hot-goods{
    width: 1220px;
    height: 380px;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.space2{
    margin-top: 40px;
}

.hot-fr{
    position: relative;
    float: left;
    width: 289px;
    margin-left: 14px;
    margin-bottom: 14px;
    background: #fff;
    &:first-child{
        margin-left: 0;
    }
    img{
        margin: auto;
    }
    .review{
        height: 42px;
        margin: 25px 30px 5px;
        font-size: 14px;
        font-weight: 400;
        overflow: hidden;
        color: #333;
    }
    .title{
        display: inline-block;
        margin: 0;
        font-size: 14px;
        font-weight: 400;
        margin-left: 30px;
        max-width: 146px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        vertical-align: bottom;
        color: #333;
    }
    .sep{
        color: #f2f2f2;
    }
    .price{
        display: inline;
        font-size: 14px;
        margin: 0;
        color: #00bcbf !important;
    }
}

.container5,.container6{
    .swiper-img-fr{
        width: 290px;
        height: 230px;
        float: left;
        padding: 0;
        img{
            width: 290px;
            height: 180px;
        }
        p{
            margin: 0 0 6px;
            font-size: 14px;
            width: 260px;
            margin: auto;
            font-weight: 400;
            text-align: center;
            color: #333;
        }
    }
}

.container1{
    
    .swiper-wrapper{
        width: 1920px;
        margin: auto;
        
    }
}

.block-elevator{
    height: 0;
    position: fixed;
    z-index: 100;
    top: 40%;
    left: 50%;
    margin-left: -690px;
    transition: all .3s ease;
    overflow: hidden;
    div{
        background-color: #b7b7b7;
        width: 40px;
        height: 50px;
        cursor: pointer;
        text-align: center;
        vertical-align: middle;
        font-size: 12px;
        color: #333;
        margin-bottom: 2px;
        position: relative;
    }
    span{
        position: absolute;
        width: 30px;
        height: 30px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 12px;
        cursor: pointer;
        text-overflow: ellipsis;
        overflow: hidden;
    }

}